package Test.chain;

/**
 * @author dusongsong
 * @date 2023年01月03日 11:58
 */
public class Test {
    public static void main(String[] args) {
        ValidateHandler handler = new ValidateHandler();
        Bean bean = new Bean();
        bean.setUsername("");
        bean.setPassword("");
        handler.doHandle(bean.getUsername(),bean.getPassword());
        System.out.println(handler.getMessage());
    }
}
